package com.demo.zhihu.data;

import java.util.List;

import com.demo.zhihu.model.Answer;
import com.demo.zhihu.model.Comment;
import com.demo.zhihu.model.Like;
import com.demo.zhihu.model.Question;
import com.demo.zhihu.model.UserProfile;

public interface QuestionDao {
	public void askQuestion(Question arg);
	public void answerQuestion(Answer arg);
	public int doesUserAnswered(Answer arg);
	public Integer getQuestionAsker(int question);
	public void setQuestionAnswers(Question question);
	
	
	public int didUserAnswer(Answer arg);
	public void postComment(Comment arg);
	public void setAnswerComments(Answer querstion);

	
	public int didUserLikeSomeone(Like arg);
	public void likeSomeone(Like arg);
	public void dislikeSomeone(Like arg);
	
	public void setAnswerLikes(Like arg);
	public void setUserLikes(Like arg);
	public void setCommentLikes(Like arg);
	public Integer getAnswerer(int answer);
	
    public List<Question> getMyQuestions(UserProfile arg);
    public List<Answer> getMyAnswers(UserProfile arg);
    
}
